package com.atguigu.gmall;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * title:
 * author: Gyh
 * date:2023-04-22 8:58
 * Description:
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//排除掉自动装配类
@EnableDiscoveryClient
@EnableFeignClients//扫描到Feign接口，产生远程调用代理对象
public class ItemApp {
    public static void main(String[] args) {
        SpringApplication.run(ItemApp.class,args);
    }
}
